﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace pcsse.MasterPages
{
    public partial class WebForm8 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            ws_webxml.WeatherWebService ws_weather = new ws_webxml.WeatherWebService();
            string[] ws_result = ws_weather.getWeatherbyCityName("上海");
            if (ws_result[10] != null && ws_result[10].Length>7)
            lb_tq.Text =  ws_result[10].Substring(7).Replace("；","<br />");
        }
    }
}
